package com.ssy.lingxi.settle.accounts.repository;

import com.ssy.lingxi.settle.accounts.entity.StatementCirculationRecordDo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;

/**
 * 对账单流转记录
 * @author Saske
 * @date 2021/12/2
 * @version 2.0.0
 */
public interface StatementCirculationRecordRepository extends JpaRepository<StatementCirculationRecordDo,Long> , JpaSpecificationExecutor<StatementCirculationRecordDo> ,QuerydslPredicateExecutor<StatementCirculationRecordDo>{

//    /**
//     * 根据对账单号查询对账单流转记录，并按操作时间排序
//     * @author Saske
//     * @date 2021/12/2
//     * @param reconciliationNo: 对账单号
//     * @return 流转记录列表
//     **/
//    List<StatementCirculationRecordDo> findAllByReconciliationNo(String reconciliationNo, Sort sort);
}
